package com.jia.lidao.enity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/12/16.
 */

public class WeiChatPayBeen {


    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1513412989
     * wechat : {"appid":"wx0b0fae73d46e0df6","noncestr":"lGwJkBxIpMi5ZZZ7","package":"Sign=WXPay","partnerid":"1492560472","prepayid":"wx201712161629497d27a1977a0873558030","sign":"16E868C19A48E0EA72AAD726DEC4D1E1","timestamp":"1513412989"}
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private WechatBean wechat;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public WechatBean getWechat() {
        return wechat;
    }

    public void setWechat(WechatBean wechat) {
        this.wechat = wechat;
    }

    public static class WechatBean {
        /**
         * appid : wx0b0fae73d46e0df6
         * noncestr : lGwJkBxIpMi5ZZZ7
         * package : Sign=WXPay
         * partnerid : 1492560472
         * prepayid : wx201712161629497d27a1977a0873558030
         * sign : 16E868C19A48E0EA72AAD726DEC4D1E1
         * timestamp : 1513412989
         */

        private String appid;
        private String noncestr;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private String timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}
